package loan.calc.constant.dict;

import loan.calc.constant.dict.base.DictEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import loan.calc.constant.dict.base.BaseDictEnum;


/**
 * @author v_ECD963
 */

@Getter
@AllArgsConstructor
@DictEnum(value = "YN" , description = "是否")
public enum YNEnum implements BaseDictEnum {

    Y("是"),
    N("否");
    private final String value;
    private final String description;

    YNEnum(String description) {
        this.value = name();
        this.description = description;
    }
}
